using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace LHS.Core.TableInfo
{
    public class InfoSamplePrescription
    {
        public const string SAMISN = "samISN";
        public const string MIMID = "mimID";
        public const string SAMSICKNAME = "samSickName";
        public const string MEXMEDICINENAME = "mexMedicineName";
        public const string MEXUSAGE = "mexUsage";
        public const string MEXQUANTITYPERUNIT = "mexQuantityPerUnit";
        public const string MEXPRODUCTIONPERUNIT = "mexProductionPerUnit";
        public const string MEXTAKEPERDAY = "mexTakePerDay";
        public const string MEXQUANTITYPERDAY = "mexQuantityPerDay";
        public const string MEXUSAGEPERDAY = "mexUsagePerDay";
        public const string MEXUSAGEUNIT = "mexUsageUnit";
        public const string MEXNOTE = "mexNote";
        public const string MEXORDER = "mexOrder";
        public const string TABLENAME = "SamplePrescription";

        public static DataTable GetStructure()
        {
            DataTable dt = new DataTable();
            dt.Columns.Add(SAMISN, typeof(int));
            dt.Columns.Add(MIMID, typeof(string));
            dt.Columns.Add(SAMSICKNAME, typeof(string));
            dt.Columns.Add(MEXMEDICINENAME, typeof(string));
            dt.Columns.Add(MEXUSAGE, typeof(string));
            dt.Columns.Add(MEXQUANTITYPERUNIT, typeof(int));
            dt.Columns.Add(MEXPRODUCTIONPERUNIT, typeof(int));
            dt.Columns.Add(MEXTAKEPERDAY, typeof(int));
            dt.Columns.Add(MEXQUANTITYPERDAY, typeof(string));
            dt.Columns.Add(MEXUSAGEPERDAY, typeof(string));
            dt.Columns.Add(MEXUSAGEUNIT, typeof(string));
            dt.Columns.Add(MEXNOTE, typeof(string));
            dt.Columns.Add(MEXORDER, typeof(int));
            dt.TableName = TABLENAME;
            return dt;
        }

    }
}
